package Day10;

import javax.crypto.spec.PSource;

/**
 * @author HYHwtx
 * @version 1.0
 * @date 2022/2/16 10:08
 */
public class Demo09 {
    public static void main(String[] args) {

        int n1 = 10;
        int n2 = n1;

        n2 = 80;
        System.out.println("n2 "+n1);
        System.out.println("n2 "+n2);
        System.out.println("===============");
        int [] arr1 = {1,2,3};
        int [] arr2 = arr1;
        arr2[0] = 10;
        System.out.println(arr1);
        System.out.println(arr2);
        System.out.println(arr2[0]);
    }
}
